package org.springblade.modules.repair.service.impl;

import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.modules.repair.utils.ElevatorAuditUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.repair.entity.ElevatorAudit;
import org.springblade.modules.repair.mapper.ElevatorAuditMapper;
import org.springblade.modules.repair.service.ElevatorAuditService;
@Service
public class ElevatorAuditServiceImpl extends BaseServiceImpl<ElevatorAuditMapper, ElevatorAudit> implements ElevatorAuditService{

	@Autowired
	private ElevatorAuditUtil elevatorAuditUtil;

	@Override
	public String getElevatorAuditTimeByPrivateNum(String privateNum) {
		String auditTime = elevatorAuditUtil.vCodeByPrivateNum(privateNum);
		return auditTime.equals("false") ? null : auditTime;
	}
}
